home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 44 / PC Gamer IT CD 44 2-2.iso / peacemaker / Peacemaker / Gui / SIMWIDG.DAT < prev    next >
Text File  |  1999-02-05  |  3KB  |  91 lines

  1. FSTPC 5
  2.  
  3. # MISSION SELECT SCREEN
  4.  
  5. # ACCEPT MISSION
  6. # animation
  7. Animation acceptmissionanim
  8. (:area 0 0 32 32 :parent simgui :sub_path globals :file flip.sur :anim_area 0 0 96 64 :delay 50 :pause :reverse :share_anim)
  9. # region
  10. sRegion acceptmission
  11. (:area 12 442 32 32 :parent simgui :graphic acceptmissionanim :cursor high :layer 1
  12. (:Focus 2
  13. 1 GUI_play whooshsnd 0
  14. 2 GUI_graphic_play acceptmissionanim 0 4)
  15. (:MLButtonDown 2
  16. 1 GUI_play clicksnd 0
  17. 2 GUI_graphic_play acceptmissionanim 4 5)
  18. (:MLButtonUp 1
  19. 2 GUI_graphic_play acceptmissionanim 5 4)
  20. (:UnFocus 1
  21. 2 GUI_graphic_play acceptmissionanim 4 0)
  22. (:MLButtonClk 1
  23. 0 GUI_enter brfgui))
  24.  
  25. # CANCEL MISSION
  26. # animation
  27. Animation cancelmissionanim
  28. (:area 0 0 32 32 :parent simgui :sub_path globals :file flip.sur :anim_area 0 0 96 64 :delay 50 :pause :reverse :share_anim)
  29. # region
  30. sRegion cancelmission
  31. (:area 479 442 32 32 :parent simgui :graphic cancelmissionanim :cursor high :layer 1
  32. (:Focus 2
  33. 1 GUI_play whooshsnd 0
  34. 2 GUI_graphic_play cancelmissionanim 0 4)
  35. (:MLButtonDown 2
  36. 1 GUI_play clicksnd 0
  37. 2 GUI_graphic_play cancelmissionanim 4 5)
  38. (:MLButtonUp 1
  39. 2 GUI_graphic_play cancelmissionanim 5 4)
  40. (:UnFocus 1
  41. 2 GUI_graphic_play cancelmissionanim 4 0)
  42. (:MLButtonClk 1
  43. 0 GUI_enter maingui))
  44.  
  45. # LISTBOX OF AVAILABLE MISSIONS
  46. # contains a scrollable list of all the available missions
  47.  
  48. # MAIN BACK GRAPHIC
  49. Bitmap select_back
  50. (:area 0 0 572 330 :parent simgui :sub_path mission :file se_back.sur)
  51.  
  52. # HIGHLIGHT BAR GRAPHIC
  53. Bitmap select_sel
  54. (:area 0 0 572 22 :parent simgui :sub_path mission :file se_high.sur)
  55.  
  56. # SCROLLBAR GRAPHIC
  57. Bitmap select_scrlbar
  58. (:area 0 0 20 330 :parent simgui :sub_path mission :file se_side.sur)
  59.  
  60. # SCROLLBAR SLIDER GRAPHIC
  61. Bitmap select_slider
  62. (:area 0 0 20 10 :parent simgui :sub_path globals :file scr_upa.sur)
  63.  
  64. # SCROLLBAR
  65. Scroller SelectScroller
  66. (:area 602 60 20 330 :parent simgui :solid :graphic select_scrlbar :slider select_slider :layer 1
  67. :active_change :start 0 0 :finish 0 330 :max_pos 12 :current_pos 0)
  68.  
  69. # scrollbar up down buttons
  70. State3 selectscroll_up
  71. (:area 602 56 20 10 :parent simgui :up scrup :down scrdown :high scrhi :cursor high :layer 1
  72. (:MLButtonDown 1
  73. 1 GUI_play clicksnd 0)
  74. (:MLButtonClk 1
  75. 1 GUI_change SelectScroller -1))
  76.  
  77. State3 selectscroll_down
  78. (:area 602 404 20 10 :parent simgui :up scrup :down scrdown :high scrhi :cursor high :layer 1
  79. (:MLButtonDown 1
  80. 1 GUI_play clicksnd 0)
  81. (:MLButtonClk 1
  82. 1 GUI_change SelectScroller 1))
  83.  
  84. # LISTBOX
  85. sListBox SelectListBox
  86. (:area 18 70 572 330 :parent simgui :graphic select_back :selected_graphic select_sel :layer 1
  87. :font fonta :scroller SelectScroller :internal_area 0 0 572 330 :item_height 24 :indent 3 3
  88. (:Modified 1 0 select_mission simgui))
  89.  
  90. Paths 0 0
  91.